FROM logstash:5.1.1

#RUN logstash-plugin install logstash-output-elasticsearch

ADD run.sh /
RUN chmod +x /run.sh

VOLUME ["/configDir"]

ENV LOGSTASH_ELASTICSEARCH "http://localhost:9200"
ENV APP_NAME "logstash"

CMD ["/run.sh"]
